sgdk: types.h File Reference

sgdk

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

Classes | Defines | Typedefs | Functions
types.h File Reference

Types definition. More...

Go to the source code of this file.

## Classes

struct | Box
struct | Circle

## Defines

#define | FALSE 0
#define | TRUE 1
#define | NULL 0
#define | MIN_U8 0x00
#define | MAX_U8 0xFF
#define | MIN_S8 -0x80
#define | MAX_S8 0x7F
#define | MIN_U16 0x0000
#define | MAX_U16 0xFFFF
#define | MIN_S16 -0x8000
#define | MAX_S16 0x7FFF
#define | MIN_U32 0x0000
#define | MAX_U32 0xFFFFFFFF
#define | MIN_S32 -0x80000000
#define | MAX_S32 0x7FFFFFFF
#define | s8 char
#define | s16 short
#define | s32 long
#define | u8 unsigned char
#define | u16 unsigned short
#define | u32 unsigned long
#define | vs8 volatile s8
#define | vs16 volatile s16
#define | vs32 volatile s32
#define | vu8 volatile u8
#define | vu16 volatile u16
#define | vu32 volatile u32
#define | uint8_t u8
#define | uint16_t u16
#define | uint32_t u32
#define | int8_t s8
#define | int16_t s16
#define | int32_t s32
#define | FASTCALL

## Typedefs

typedef s16 | fix16
typedef s32 | fix32
typedef void | _voidCallback ()

## Functions

u8 | getZeroU8 ()
u16 | getZeroU16 ()
u32 | getZeroU32 ()

## Detailed Description

Types definition.

Author:
  Stephane Dallongeville

Date:
  08/2011

SGDK Types definition.

## Define Documentation

#define FALSE 0

FALSE define (equivalent to 0).

#define NULL 0

NULL define (equivalent to 0).

#define s16 short

16 bits signed integer (equivalent to short).

#define s32 long

32 bits signed integer (equivalent to long).

#define s8 char

8 bits signed integer (equivalent to char).

#define TRUE 1

TRUE define (equivalent to 1).

#define u16 unsigned short

16 bits unsigned integer (equivalent to unsigned short).

#define u32 unsigned long

32 bits unsigned integer (equivalent to unsigned long).

#define u8 unsigned char

8 bits unsigned integer (equivalent to unsigned char).

#define vs16 volatile s16

volatile 16 bits signed integer.

#define vs32 volatile s32

volatile 32 bits signed integer.

#define vs8 volatile s8

volatile 8 bits signed integer.

#define vu16 volatile u16

volatile 16 bits unsigned integer.

#define vu32 volatile u32

volatile 32 bits unsigned integer.

#define vu8 volatile u8

volatile 8 bits unsigned integer.

## Typedef Documentation

fix16

16 bits fixed floting point type.

fix32

32 bits fixed floating point type.

All Classes Files Functions Variables Typedefs Enumerations Defines